Skip to content

Minimize stack space required to plan deeply nested binary expressions#4787

Merged
alamb merged 5 commits intoapache:masterfrom
alamb:alamb/fix_more_overflow
Jan 2, 2023
Merged

Minimize stack space required to plan deeply nested binary expressions#4787
alamb merged 5 commits intoapache:masterfrom
alamb:alamb/fix_more_overflow

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jan 1, 2023

Which issue does this PR close?

Re #4065 from @andygrove

Rationale for this change

This is a follow on to #4779 which reduced the stack space needed to plan in debug builds. This PR minimizes the stack required as much as I know how.

What changes are included in this PR?

Special case BinaryOp (see comments for explination)

Are these changes tested?

Yes (existing + new tests)

Are there any user-facing changes?

No

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants